package com.taotao.proxy01.ext;

import com.taotao.service.OrderService;
import com.taotao.service.impl.OrderServiceImpl;

/**
 * @Author: wangjin
 * @CreateTime: 2022-07-25  22:28
 */
public class Test01 {
    public static void main(String[] args) {
        ThreadInvocationHandler threadInvocationHandler=new ThreadInvocationHandler(new OrderServiceImpl());
        OrderService orderService=threadInvocationHandler.getProxy();
        orderService.addOrder("taotao");
    }
}
